Skip to content

Comments

mgmt, monitor, prepare beta SDK for upgrade of metricAlert_API.json 2024-03-01-preview#47160

Merged
weidongxu-microsoft merged 9 commits intoAzure:mainfrom
weidongxu-microsoft:mgmt_monitor-preview
Nov 6, 2025
Merged

mgmt, monitor, prepare beta SDK for upgrade of metricAlert_API.json 2024-03-01-preview#47160
weidongxu-microsoft merged 9 commits intoAzure:mainfrom
weidongxu-microsoft:mgmt_monitor-preview

Conversation

@weidongxu-microsoft
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft commented Nov 5, 2025

specs at Azure/azure-rest-api-specs#38616

service confirmed that rollout is done.

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@github-actions github-actions bot added the Mgmt This issue is related to a management-plane library. label Nov 5, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

com.azure.resourcemanager:azure-resourcemanager-monitor

@weidongxu-microsoft weidongxu-microsoft changed the title mgmt, monitor upgrade preview metricAlert_API.json mgmt, monitor, prepare beta SDK for upgrade of metricAlert_API.json 2024-03-01-preview Nov 5, 2025
@weidongxu-microsoft
Copy link
Member Author

/check-enforcer override

@weidongxu-microsoft weidongxu-microsoft marked this pull request as ready for review November 6, 2025 07:54
Copilot AI review requested due to automatic review settings November 6, 2025 07:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR prepares the Azure Monitor SDK for an upgrade to the metricAlert_API.json 2024-03-01-preview specification. The changes introduce new data source types, identity management capabilities, and expanded alert criteria options including PromQL support.

Key Changes:

  • Added support for PromQL-based metric alerts with PromQLCriteria, MultiPromQLCriteria, and related classes
  • Introduced managed identity support with new Identity, ManagedServiceIdentity, and UserAssignedIdentity classes
  • Added new data source types including OpenTelemetry (metrics, logs, traces), ETW providers, Event Hub, and platform telemetry
  • Enhanced data collection rules with enrichment capabilities, failover configuration, and ingestion quotas
  • Updated existing models with additional properties and improved documentation

Reviewed Changes

Copilot reviewed 187 out of 215 changed files in this pull request and generated no comments.

Show a summary per file
File Description
PromQLCriteria.java Implements PromQL-based alert criteria with failing periods configuration
QueryFailingPeriods.java Defines time-based alert activation configuration using ISO 8601 duration
MultiPromQLCriteria.java Base class for PromQL criteria with discriminator pattern support
Identity.java Resource identity management with user-assigned identity support
ManagedServiceIdentity.java System and user-assigned identity configuration
OtelTracesDataSource.java, OtelMetricsDataSource.java, OtelLogsDataSource.java OpenTelemetry data collection support with enrichment and routing
EtwProviderDataSource.java ETW provider configuration for Windows event collection
EventHubDataSource.java, EventHubDestination.java Event Hub integration for data ingestion and output
EnrichmentData.java, StorageBlob.java Data enrichment from Azure Storage blobs
FailoverConfigurationSpec.java Multi-region failover support for data collection
IngestionQuotas.java Rate limiting configuration for data ingestion
MetricAlertResourcePatch.java Enhanced with identity, custom properties, and resolve configuration
Various enum classes New extensible enums for data source streams, provisioning states, and log levels

@weidongxu-microsoft weidongxu-microsoft merged commit faa0039 into Azure:main Nov 6, 2025
34 of 36 checks passed
@weidongxu-microsoft weidongxu-microsoft deleted the mgmt_monitor-preview branch November 6, 2025 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants